package com.yyk.yiliao.util.ebs;

/**
 * Created by Administrator on 2018/9/5 0005.
 */

public class PayMessage {

    private int type; //判断是购物车结算还是 去支付

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    private  int addtime;//订单号创建时间
    private String order_code;//订单号
    private float total;//总金额
    private int pay_type;//支付类型

    @Override
    public String toString() {
        return "PayMessage{" +
                "addtime=" + addtime +
                ", order_code='" + order_code + '\'' +
                ", total=" + total +
                ", pay_type=" + pay_type +
                '}';
    }

    public PayMessage(int type,int addtime, String order_code, float total, int pay_type) {
        this.type = type;
        this.addtime = addtime;
        this.order_code = order_code;
        this.total = total;
        this.pay_type = pay_type;
    }

    public int getAddtime() {
        return addtime;
    }

    public void setAddtime(int addtime) {
        this.addtime = addtime;
    }

    public String getOrder_code() {
        return order_code;
    }

    public void setOrder_code(String order_code) {
        this.order_code = order_code;
    }

    public float getTotal() {
        return total;
    }

    public void setTotal(float total) {
        this.total = total;
    }

    public int getPay_type() {
        return pay_type;
    }

    public void setPay_type(int pay_type) {
        this.pay_type = pay_type;
    }
}
